package edu.ucsc.mit2008.swan.core.template.model;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

import edu.ucsc.mit2008.swan.api.template.model.ISwanTemplate;
import edu.ucsc.mit2008.swan.api.template.model.ISwanTemplateProperties;
import edu.ucsc.mit2008.swan.core.PackageInfo;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "swanTemplate" , namespace = PackageInfo.SWAN_CORE_NAMESPACE)
@XmlRootElement(name = "swanTemplate",  namespace = PackageInfo.SWAN_CORE_NAMESPACE)
public class SwanTemplate implements ISwanTemplate {

	private String templateName;
	
	private String imagesFolder;
	
	@XmlElement(type=SwanTemplateProperties.class)
	private ISwanTemplateProperties properties;

	public String getTemplateName() {
		return templateName;
	}

	public void setTemplateName(String templateName) {
		this.templateName = templateName;
	}

	public String getImagesFolder() {
		return imagesFolder;
	}

	public void setImagesFolder(String imagesFolder) {
		this.imagesFolder = imagesFolder;
	}

	public ISwanTemplateProperties getProperties() {
		return properties;
	}

	public void setProperties(ISwanTemplateProperties properties) {
		this.properties = properties;
	}
}
